#pragma once
#include"customer.h"
#include<cstdlib>

typedef CUSTOMER::Customer Item;

namespace QUEUE
{
	class Queue
	{
	private:
		struct node
		{
			Item data;
			node* next;
		};
		node* front;
		node* rear;
		int count;
		const int capcity;
		enum Q_size {max_size = 10};
	public:
		Queue(int len = max_size);
		~Queue();
		bool isfull();
		bool isempty();
		void Push(Item& data);
		void Pop();
		const Item& Top();
		int size();
	};
}
